﻿#pragma once
#include "MdbStructs.h"
#include <stddef.h>

namespace mdb
{
	struct TickEqualForTickPrimaryKey
	{
		bool operator()(const Tick* const left, const Tick* const right) const;
	};
	struct TickHashForTickPrimaryKey
	{
		size_t operator()(const Tick* const record) const;
	};

	struct BarEqualForBarPrimaryKey
	{
		bool operator()(const Bar* const left, const Bar* const right) const;
	};
	struct BarHashForBarPrimaryKey
	{
		size_t operator()(const Bar* const record) const;
	};

}

